import { eventHandler } from 'h3';

export default eventHandler(() => {
  return useResponseSuccess({
    total: 23,
    data: [
      {
        id: 64,
        createdAt: 1_754_557_522_942,
        updatedAt: 1_754_557_706_326,
        level: 2,
        parentId: 55,
        path: '/corpus',
        name: 'corpusManagement',
        redirect: '',
        component: '/customer/corpus/index',
        sort: 0,
        status: 1,
        meta: {
          title: 'route.corpusManagement',
          icon: 'ant-design:android-filled',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 0,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 2,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_747_382_528_391,
        level: 2,
        parentId: 1,
        path: '/dashboard',
        name: 'Dashboard',
        redirect: '',
        component: '/dashboard/workbench/index',
        sort: 0,
        status: 1,
        meta: {
          title: 'route.dashboard',
          icon: 'ant-design:home-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 4,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_748_583_913_934,
        level: 2,
        parentId: 3,
        path: '/menu',
        name: 'MenuManagement',
        redirect: '',
        component: '/sys/menu/index',
        sort: 1,
        status: 1,
        meta: {
          title: 'route.menuManagementTitle',
          icon: 'ant-design:bars-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 59,
        createdAt: 1_749_102_763_068,
        updatedAt: 1_749_102_763_068,
        level: 2,
        parentId: 55,
        path: '/customerbind',
        name: 'CustomerBind',
        redirect: null,
        component: '/customer/bind/index.vue',
        sort: 1,
        status: 1,
        meta: {
          title: 'route.customerBind',
          icon: 'ant-design:apple-filled',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: null,
        },
        menuType: 2,
        serviceName: '/User',
        permission: null,
      },
      {
        id: 1,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_754_894_294_356,
        level: 1,
        parentId: 0,
        path: '/dashboard_dir',
        name: 'DashBoardDir',
        redirect: '',
        component: 'LAYOUT',
        sort: 1,
        status: 1,
        meta: {
          title: 'route.managementCenter',
          icon: 'ic:baseline-view-in-ar',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 1,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 58,
        createdAt: 1_748_483_819_340,
        updatedAt: 1_749_118_159_566,
        level: 2,
        parentId: 55,
        path: '/customerlist',
        name: 'CustomerList',
        redirect: null,
        component: '/customer/list/index.vue',
        sort: 1,
        status: 1,
        meta: {
          title: 'route.customerList',
          icon: 'ant-design:aliwangwang-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: null,
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 62,
        createdAt: 1_753_941_901_872,
        updatedAt: 1_753_942_250_575,
        level: 2,
        parentId: 61,
        path: '/goods/manage',
        name: 'ProductInput',
        redirect: null,
        component: '/goods/manage/index.vue',
        sort: 1,
        status: 1,
        meta: {
          title: 'route.ProductInput',
          icon: 'ant-design:alipay-circle-filled',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: null,
        },
        menuType: 2,
        serviceName: '/user',
        permission: null,
      },
      {
        id: 63,
        createdAt: 1_753_942_376_149,
        updatedAt: 1_753_942_541_354,
        level: 2,
        parentId: 61,
        path: '/goods/stock',
        name: 'ProductStock',
        redirect: null,
        component: '/goods/stock/index.vue',
        sort: 1,
        status: 1,
        meta: {
          title: 'route.ProductStock',
          icon: 'ant-design:align-right-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: true,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: null,
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 5,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_745_547_980_124,
        level: 2,
        parentId: 3,
        path: '/role',
        name: 'RoleManagement',
        redirect: '',
        component: '/sys/role/index',
        sort: 2,
        status: 1,
        meta: {
          title: 'route.roleManagementTitle',
          icon: 'ant-design:user-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 6,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_747_309_753_554,
        level: 2,
        parentId: 3,
        path: '/user',
        name: 'UserManagement',
        redirect: '',
        component: '/sys/user/index',
        sort: 3,
        status: 1,
        meta: {
          title: 'route.userManagementTitle',
          icon: 'ant-design:user-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 7,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_745_547_980_124,
        level: 2,
        parentId: 3,
        path: '/department',
        name: 'DepartmentManagement',
        redirect: '',
        component: '/sys/department/index',
        sort: 4,
        status: 1,
        meta: {
          title: 'route.departmentManagement',
          icon: 'ic:outline-people-alt',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 8,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_745_547_980_124,
        level: 2,
        parentId: 3,
        path: '/api',
        name: 'APIManagement',
        redirect: '',
        component: '/sys/api/index',
        sort: 5,
        status: 1,
        meta: {
          title: 'route.apiManagementTitle',
          icon: 'ant-design:api-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 13,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_745_547_980_124,
        level: 2,
        parentId: 3,
        path: '/token',
        name: 'TokenManagement',
        redirect: '',
        component: '/sys/token/index',
        sort: 7,
        status: 1,
        meta: {
          title: 'route.tokenManagement',
          icon: 'ant-design:lock-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 14,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_745_547_980_124,
        level: 2,
        parentId: 3,
        path: '/position',
        name: 'PositionManagement',
        redirect: '',
        component: '/sys/position/index',
        sort: 8,
        status: 1,
        meta: {
          title: 'route.positionManagement',
          icon: 'ic:twotone-work-outline',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 67,
        createdAt: 1_754_893_289_377,
        updatedAt: 1_754_893_536_317,
        level: 2,
        parentId: 65,
        path: '/transfergoods',
        name: 'transferGoods',
        redirect: '',
        component: '/goodstore/transfergoods/index.vue',
        sort: 9,
        status: 1,
        meta: {
          title: 'route.transferGoods',
          icon: 'ant-design:android-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: true,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: null,
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 54,
        createdAt: 1_747_899_642_532,
        updatedAt: 1_747_900_589_719,
        level: 2,
        parentId: 1,
        path: '/ppp',
        name: '测试菜单',
        redirect: '',
        component: '/popo/index.vue',
        sort: 10,
        status: 1,
        meta: {
          title: '测试',
          icon: 'ant-design:android-filled',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 1,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: 'dashboard:view',
      },
      {
        id: 49,
        createdAt: 1_747_279_559_706,
        updatedAt: 1_747_964_358_819,
        level: 1,
        parentId: 1,
        path: '/form',
        name: '999999999999999999',
        redirect: '',
        component: '/demos/form/index',
        sort: 10,
        status: 1,
        meta: {
          title: '999999999999999999',
          icon: '',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 1,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'DashboardService',
        permission: null,
      },
      {
        id: 56,
        createdAt: 1_748_411_242_993,
        updatedAt: 1_749_519_220_745,
        level: 2,
        parentId: 55,
        path: '/customerchat',
        name: 'CustomerChat',
        redirect: null,
        component: '/customer/chat/index.vue',
        sort: 12,
        status: 1,
        meta: {
          title: 'route.customerChat',
          icon: 'ant-design:bilibili-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 0,
          realPath: null,
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 61,
        createdAt: 1_753_941_698_737,
        updatedAt: 1_754_894_272_188,
        level: 1,
        parentId: 0,
        path: '/goods',
        name: 'GoodsManagement',
        redirect: '',
        component: 'LAYOUT',
        sort: 15,
        status: 1,
        meta: {
          title: 'route.GoodsManagement',
          icon: 'ant-design:aliwangwang-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 1,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 65,
        createdAt: 1_754_647_546_393,
        updatedAt: 1_754_894_257_539,
        level: 1,
        parentId: 0,
        path: '/storehouse',
        name: 'storehouseManagement',
        redirect: null,
        component: '/goodstore',
        sort: 16,
        status: 1,
        meta: {
          title: 'route.storehouseManagement',
          icon: 'ant-design:api-filled',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: true,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 0,
          realPath: null,
        },
        menuType: 1,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 55,
        createdAt: 1_748_411_080_249,
        updatedAt: 1_754_894_284_260,
        level: 1,
        parentId: 0,
        path: '/customer',
        name: 'customer',
        redirect: null,
        component: '',
        sort: 17,
        status: 1,
        meta: {
          title: 'route.customer',
          icon: 'ant-design:aliwangwang-filled',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: null,
        },
        menuType: 1,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 66,
        createdAt: 1_754_647_688_073,
        updatedAt: 1_754_648_085_827,
        level: 2,
        parentId: 65,
        path: '/storemannge',
        name: 'storehouseList',
        redirect: null,
        component: '/goodstore/mannge/index.vue',
        sort: 20,
        status: 1,
        meta: {
          title: 'route.storehouseList',
          icon: 'ant-design:api-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: true,
          hideTab: false,
          frameSrc: null,
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: null,
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
      {
        id: 3,
        createdAt: 1_745_547_980_124,
        updatedAt: 1_754_036_043_749,
        level: 1,
        parentId: 0,
        path: '/system',
        name: 'SystemManagement',
        redirect: '',
        component: 'LAYOUT',
        sort: 999,
        status: 1,
        meta: {
          title: 'route.systemManagementTitle',
          icon: 'ant-design:tool-outlined',
          hideMenu: false,
          hideBreadcrumb: false,
          keepAlive: false,
          hideTab: false,
          frameSrc: '',
          carryParam: false,
          hideChildrenInMenu: false,
          affix: false,
          dynamicLevel: 20,
          realPath: '',
        },
        menuType: 2,
        serviceName: 'User',
        permission: null,
      },
    ],
  });
});
